New around here? Register your SA Forums Account here!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $10! We charge money because it costs us money per month for bills alone, and since we don't believe in shady internet advertising, we try to make the money back through forum registrations.
 
  • Post
  • Reply
Shaggar
Apr 26, 2006
amazing.

Adbot
ADBOT LOVES YOU

Luigi Thirty
Apr 30, 2006

Emergency confection port.

fritz posted:

so is it basically 64 bit fixed point w/ 32 bits after the decimal?

no, 32-bit fixed point, S15.16 format

akadajet
Sep 14, 2003

Luigi Thirty posted:

terrible programmer status: vector processing aaaaag

https://twitter.com/LuigiThirty/status/1048492009433026561

redleader
Aug 18, 2005

Engage according to operational parameters

AggressivelyStupid posted:

i had to change a few other things but it let me do stuff

javascript is bad but they way they did it is exceptional

there's no client-side language in the world that could prevent this. js can't stop your devs from not understanding the most basic rules of web security

redleader
Aug 18, 2005

Engage according to operational parameters
also, fire all involved in that

Flat Daddy
Dec 3, 2014

by Nyc_Tattoo

AggressivelyStupid posted:

love too open up a console window for one of our products, type butt.user.AuthGroup = "Admin";

and have it work :suicide:

I inherited a project like this. in ours you could also go to 'forget password', type in an email, and the server would send back the entire user record in an ajax call (to display whether the email was valid) which would include the hashed password and reset token.

aardvaard
Mar 4, 2013

you belong in the bog of eternal stench

somebody just emailed me asking me to fix a node.js library i made four years ago. this is what i get for touching node.

eschaton
Mar 7, 2007

the knowledge knower. a wisdom imparter. irritatingly self-assertive. odorous.

aardvaard posted:

somebody just emailed me asking me to fix a node.js library i made four years ago. this is what i get for touching node.

fix it by force pushing an empty repo so everybody depending on it breaks

Luigi Thirty
Apr 30, 2006

Emergency confection port.


Congratulations ! You are great debugger !!

update: microcode can now do matrix arithmetic and fixed-point arithmetic, meaning once I figure out how to set up transformation matrix on the RSP I'll be able to project 3d triangles, I'm a regular rareware

H2Eau
Jun 2, 2010

Flat Daddy posted:

I inherited a project like this. in ours you could also go to 'forget password', type in an email, and the server would send back the entire user record in an ajax call (to display whether the email was valid) which would include the hashed password and reset token.

I found an issue kind of like this in a local online food delivery service. the order numbers in the order tracker looked sequential, so of course you can just iterate through them and get people's payment details, addresses, phone numbers, etc.

They fixed it up within a few hours of me emailing them, so now you just have to be authenticated to iterate through people's orders.

Soricidus
Oct 20, 2010
freedom-hating statist shill
lol if your login page doesn’t send the plaintext password for a client side check

elite_garbage_man
Apr 3, 2010
I THINK THAT "PRIMA DONNA" IS "PRE-MADONNA". I MAY BE ILLITERATE.

oh that

I thought the op was talking about some bot notch wrote and the source that was released contained a bunch of poo poo lol

cinci zoo sniper
Mar 14, 2013




c tp s: some more thoughts on dbt. its kinda cool but logging is quite bad, for macros and stuff like that. im not sure how much of a useful tool it is in production, but it's been really nice for the current project, whereby i need to explain our developers how to generate one analytical report without relying on sql - i can't just throw them gigantic and really slow sql script so instead im just seting them this DAG (look at mr. fancy righ there) of trivial sql selects, which is the premise of the tool. for production use its ok but in my case ("rendering" everything as views) our db dude is complaing about tables being locked by views, and table "render" would be considerably slower and more involved with resource consumption

in general though i like it even without using it for the intended target systems (redshift/bigquery). i'll need to tinker more with dbt, there was some kind of ephemeral materialisation option i did preemtively ignore

hobbesmaster
Jan 28, 2008

petition to rename the thread to "terrible programming: ��������� "

' actually seems to work in this post though :confused:
hurr of course its smart quotes from phones

hobbesmaster fucked around with this message at 20:54 on Oct 9, 2018

vanity slug
Jul 20, 2010

smart quotes more like �smart� quotes

mystes
May 31, 2006

hobbesmaster posted:

hurr of course its smart quotes
There shouldn't be too much trouble in this thread then

Finster Dexter
Oct 20, 2014

Beyond is Finster's mad vision of Earth transformed.
this is just how quotes work in Esperanto

prisoner of waffles
May 8, 2007

Ah! well a-day! what evil looks
Had I from old and young!
Instead of the cross, the fishmech
About my neck was hung.

cinci zoo sniper posted:

c tp s: some more thoughts on dbt. its kinda cool but logging is quite bad, for macros and stuff like that. im not sure how much of a useful tool it is in production, but it's been really nice for the current project, whereby i need to explain our developers how to generate one analytical report without relying on sql - i can't just throw them gigantic and really slow sql script so instead im just seting them this DAG (look at mr. fancy righ there) of trivial sql selects, which is the premise of the tool. for production use its ok but in my case ("rendering" everything as views) our db dude is complaing about tables being locked by views, and table "render" would be considerably slower and more involved with resource consumption

in general though i like it even without using it for the intended target systems (redshift/bigquery). i'll need to tinker more with dbt, there was some kind of ephemeral materialisation option i did preemtively ignore

huh, looks nice

quote:

dbt has two core workflows: building data models and testing data models. (We call any transformed view of raw data a data model.)

To create a data model, an analyst simply writes a SQL SELECT statement. dbt then takes that statement and builds it in the database, materializing it as either a view or a table. This model can then be queried by other models or by other analytics tools.

To test a data model, an analyst asserts something to be true about the underlying data. For example, an analyst can assert that a certain field should never be null, should always hold unique values, or should always map to a field in another table. Analysts can also write assertions that express much more customized logic, such as “debits and credits should always be equal within a given journal entry”. dbt then tests all assertions against the database and returns success or failure responses.

assertions. invariants. noice

Main Paineframe
Oct 27, 2010

Soricidus posted:

make a text-mode ui, there must be java bindings for ncurses or w/e

good idea. splashing text around randomly sounds way easier than that other poo poo

found an pure-java terminal output library. i'll throw together a basic abstraction layer so i can easily change the UI later, and then toss that library on top

cinci zoo sniper
Mar 14, 2013




ill be able to report back some testing experience likely tomorrow already. i need to check some business logic in the morning to see if the grand scale of things adds up, but after that ill have to add a lot of formal verification to ensure that joins and filters work as intended because our data model is so pos that instead of writing custom tests for business logic i need to instead worry about things such as “is there a 10 dollar transaction in transaction table that matches the 10 dollar gift card sale from gift card table”

gonadic io
Feb 16, 2011

>>=

Jeoh posted:

smart quotes more like �smart� quotes

ComradeCosmobot
Dec 4, 2004

USPOL July
how do you even get the same garbage encoding for both smart quotes

what garbage even is that

Janitor Prime
Jan 22, 2004

PC LOAD LETTER

What da fuck does that mean

Fun Shoe
Like why are smart quotes a thing, I've never read a rational discussion about why ' and " need to have those loving ligatures for any reason

Nomnom Cookie
Aug 30, 2009



Janitor Prime posted:

Like why are smart quotes a thing, I've never read a rational discussion about why ' and " need to have those loving ligatures for any reason

ah ok are you sure that you know what a ligature is

ComradeCosmobot
Dec 4, 2004

USPOL July

Janitor Prime posted:

Like why are smart quotes a thing, I've never read a rational discussion about why ' and " need to have those loving ligatures for any reason

look at this person who doesn't have any appreciation for the written word

MononcQc
May 29, 2007

Janitor Prime posted:

Like why are smart quotes a thing, I've never read a rational discussion about why ' and " need to have those loving ligatures for any reason

' is an apostrophe, not a quote. ‘ and ’ are quotation marks (in some languages), which have an orientation the same way parentheses or brackets do.

If you work in publishing or printing, the three of them are distinct and must be set correctly.

Of course, a lot of systems that do "smart quotes" end up replacing the apostrophe with a right quote, so welp.

CPColin
Sep 9, 2003

Big ol' smile.

ComradeCosmobot posted:

how do you even get the same garbage encoding for both smart quotes

what garbage even is that

In QCS somebody said it's the Unicode replacement character, FFFD.

tef
May 30, 2004

-> some l-system crap ->

Janitor Prime posted:

Like why are smart quotes a thing, I've never read a rational discussion about why ' and " need to have those loving ligatures for any reason

ascii did a 'han unification' on punctuation

Janitor Prime
Jan 22, 2004

PC LOAD LETTER

What da fuck does that mean

Fun Shoe

Kevin Mitnick P.E. posted:

ah ok are you sure that you know what a ligature is

I can never talk straight when it comes to loving fonts and Unicode terms. I thought ligatures were the modifiers and poo poo you put on the basic symbols. like � is the the letter e with a right accent on top.


ComradeCosmobot posted:

look at this person who doesn't have any appreciation for the written word
If i want to quote something I just put the whole statement in between " ", not use those fancy oriented single quotation marks.

I get that they exist for a reason and have a specific use, but what business does any computer have in replace apostrophes with quotes? Did this all come about because some dipshit thought gently caress it, everyone really wants to use quotes, so I'll just helpfully replace them?

Corla Plankun
May 8, 2007

improve the lives of everyone
there shouldnt even be a double quote we should just be using double apostrophes

gonadic io
Feb 16, 2011

>>=
han-si unification

tef
May 30, 2004

-> some l-system crap ->
i mean also let's talk about old style and tiling numerals, or a virgule and a solidus

tef
May 30, 2004

-> some l-system crap ->

Corla Plankun posted:

there shouldnt even be a double quote we should just be using double apostrophes

i mean, theoretically, but with a zwj

mystes
May 31, 2006

Janitor Prime posted:

If i want to quote something I just put the whole statement in between " ", not use those fancy oriented single quotation marks.

Just make sure you escape your double quotation marks properly when you nest them.

tef
May 30, 2004

-> some l-system crap ->
personally i think french quotation marks are the best

Shaggar
Apr 26, 2006

tef posted:

ascii did a 'han unification' on punctuation

we never should have abandoned ascii

akadajet
Sep 14, 2003

Shaggar posted:

we never should have abandoned ascii

yep, it’s shaggar

Nomnom Cookie
Aug 30, 2009



Janitor Prime posted:

I can never talk straight when it comes to loving fonts and Unicode terms. I thought ligatures were the modifiers and poo poo you put on the basic symbols. like � is the the letter e with a right accent on top.

you're probably thinking of unicode combining characters, which is how zalgo is made. ligatures are a typesetting thing, extra glyphs in a font

prisoner of waffles
May 8, 2007

Ah! well a-day! what evil looks
Had I from old and young!
Instead of the cross, the fishmech
About my neck was hung.

Janitor Prime posted:

I can never talk straight when it comes to loving fonts and Unicode terms. I thought ligatures were the modifiers and poo poo you put on the basic symbols. like � is the the letter e with a right accent on top.

The "characters that combine with other characters to make accented versions" are called "combining characters"

"ligatures" are (typically) considered part of a font and not distinct characters; they correspond to nice looking things like making an adjacent f and t share a crossbar etc. A ligature is, literally, a tie between one or more letters

Adbot
ADBOT LOVES YOU

Ellie Crabcakes
Jan 31, 2008

Stop emailing my boyfriend Gay Crungus

mystes posted:

There shouldn't be too much trouble in this thread then
THESIS CONFIRMED.

  • 1
  • 2
  • 3
  • 4
  • 5
  • Post
  • Reply